package function

object Test {
  def main(args: Array[String]): Unit = {
    val zhangsan = new StudentT("张三", 23)
    val lisi = new StudentT("lisi", 27)
    zhangsan.studentInfo()
    lisi.studentInfo()
    val age=12
    println(lisi.sex)
    val sql=
      s"""
         |select *
         |from student
         |where
         |  name=${lisi.sex}
         |and
         |  age>=${age}
         |""".stripMargin
         println(sql)
    val name: String = sql.getClass.getSimpleName
    println(name)
  }

}
